import { http } from '@/common/https.js'

// 获取反馈建议列表
export const consultListApi = (data) => {
  return http({
    url: `/logistics/requests/list`,
    method: 'get',
	data
  })
}

// 删除反馈建议列表
export const consultDeleteApi = (id) => {
  return http({
    url: `/logistics/requests/${id}`,
    method: 'delete'
  })
}

// 获取评分列表
export const evaluationsListApi = (data) => {
  return http({
    url: `/logistics/evaluations/list`,
    method: 'get',
	data
  })
}

// 删除评分列表
export const evaluationsDeletetApi = (id) => {
  return http({
    url: `/logistics/evaluations/${id}`,
    method: 'delete'
  })
}